package com.mdz.nc.Service.Impl;

import com.mdz.nc.Entity.Sbflb;
import com.mdz.nc.Mapper.SbflbMapper;
import com.mdz.nc.Service.SbflbService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 孟德志
 * @since 2020-06-28
 */
@Service
public class SbflbServiceImpl extends ServiceImpl<SbflbMapper, Sbflb> implements SbflbService {

    @Autowired
    private SbflbMapper sbflbMapper;
    @Override
    public List<Sbflb> getname() {
        return sbflbMapper.getname();
    }

    @Override
    public List<Sbflb> getnamebyans(String id) {
        return sbflbMapper.getnamebyans(id);
    }

    @Override
    public Integer maxid() {
        return sbflbMapper.maxid();
    }

}
